home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
LANG
/
C
/
LIB
/
UNIXLIB37B
/
!UnixLib37
/
src
/
time
/
c
/
adjtime
next >
Wrap
Text File
|
1996-11-09
|
1KB
|
37 lines
/****************************************************************************
*
* $Source: /unixb/home/unixlib/source/unixlib37/src/time/c/RCS/adjtime,v $
* $Date: 1996/05/06 09:01:35 $
* $Revision: 1.2 $
* $State: Rel $
* $Author: unixlib $
*
* $Log: adjtime,v $
* Revision 1.2 1996/05/06 09:01:35 unixlib
* Updates to sources made by Nick Burrett, Peter Burwood and Simon Callan.
* Saved for 3.7a release.
*
* Revision 1.1 1996/04/19 21:35:00 simon
* Initial revision
*
* Written by Nick Burrett, 17 Feb 1996.
***************************************************************************/
static const char rcs_id[] = "$Id: adjtime,v 1.2 1996/05/06 09:01:35 unixlib Rel $";
#include <sys/time.h>
/* This function speeds up or slows down the system clock in order to
make gradual adjustments in the current time. This ensures that
the time reported by the system clock is always monotonically
increasing, which might not happen if you simply set the current
time. Irrelevant on RISC OS. */
int
adjtime (const struct timeval *delta, struct timeval *olddelta)
{
olddelta = olddelta;
delta = delta;
return -1;
}